package com.bestcem.xm.ticket.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 工单企业微信通知配置
 *
 * @author XiaoYunSong <ys.xiao@idiaoyan.com>
 * @version v1.0
 * @date 2021/12/17 13:58
 */
@Data
@Component
@ConfigurationProperties(prefix = "app.ticket.notify-template.wechat-work")
public class TicketWechatWorkProperties {
    /**
     * 企业微信小程序appid
     */
    private String appid = "wx7ab30b4a7b4c0d44";
    /**
     * 企业微信工单消息卡片跳转小程序的路径
     */
    private String page = "pages/issue/detail?ticketId=%s";
}
